package com.hzzy.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hzzy.IDao.HzPermissionTypeMapper;
import com.hzzy.bean.HzPermissionType;
import com.hzzy.bean.HzPermissionTypeExample;
import com.hzzy.service.HzPermissionTypeService;

@Service
public class HzPermissionTypeServiceImpl implements HzPermissionTypeService {

	@Autowired
	private HzPermissionTypeMapper hzPermissionTypeMapper;
	
	public List<HzPermissionType> getAllData() {
		HzPermissionTypeExample example = new HzPermissionTypeExample();
		example.createCriteria();
		
		return hzPermissionTypeMapper.selectByExample(example);
	}

}
